package com.serviceprovider.business.module.common;

//~--- non-JDK imports --------------------------------------------------------

import org.springframework.jdbc.core.simple.SimpleJdbcInsert;

//~--- JDK imports ------------------------------------------------------------

import javax.sql.DataSource;

public class SeriveProviderJdbcInsert extends SimpleJdbcInsert {
    public SeriveProviderJdbcInsert(DataSource dataSource, String tableName, String... columnNames) {
        super(dataSource);
        this.withTableName(tableName);
        this.usingGeneratedKeyColumns(columnNames);
    }
}



